From: Richard M. Stallman Date: Fri, 27 Sep 1996 23:44:49 +0000 (+0000) Subject: (x_set_scroll_bar_width): Move cursor to the X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~82714 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=6aa4b3ee288b4d12aef9ec1914ae9e6aa343b281;p=emacs.git (x_set_scroll_bar_width): Move cursor to the left margin, past a scroll bar, if any. --- diff --git a/src/xfns.c b/src/xfns.c index 76ad6f2412f..d73c20c20c2 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1988,6 +1988,7 @@ x_set_scroll_bar_width (f, arg, oldval) } change_frame_size (f, 0, FRAME_WIDTH (f), 0, 0); + FRAME_CURSOR_X (f) = FRAME_LEFT_SCROLL_BAR_WIDTH (f); } /* Subroutines of creating an X frame. */